﻿using Microsoft.AspNetCore.Mvc.Filters;

namespace Mohe.Scada.WebApi.Common.Filters
{
    public class LoggingActionFilter : IActionFilter
    {
        private readonly IFreeSql _fsql;
        public LoggingActionFilter(IFreeSql fsql)
        {
            _fsql = fsql;
        }

        private Dictionary<string, object> _originalEntities = new Dictionary<string, object>();
        public void OnActionExecuted(ActionExecutedContext context)
        {
        }

        public void OnActionExecuting(ActionExecutingContext context)
        {
            var actionArguments = context.ActionArguments.Values;
        }
    }
}
